import {SAVE_DATA_MANAGER_INFO} from "./constants";

const defaultState = {
  dataManagerInfo: []
};

export default function reducer(state = defaultState, action) {
  switch (action.type) {
    case SAVE_DATA_MANAGER_INFO :
      return {...state, dataManagerInfo: action.dataManagerInfo};
    default:
      return state;
  }
}